@import "../../common/style/var.less";
.member{
  height: 100%;
}
#content{
  height: 100%;
  padding-bottom: 50px;
  box-sizing: border-box;
  .scroll{
    height: 100%;
  }
}
#header{
  position: relative;
  height: 170px;
  overflow: hidden;
  &::before{
    position: absolute;
    z-index: 1;
    top:-55%;
    left:50%;
    transform: translateX(-50%);
    content:'';
    display: block;
    width: 210%;
    height: 140%;
    background-image: @main-bg;
    border-radius: 50%;
  }
  .header{
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 90px;
    padding:10px 10px 0 10px;
    box-sizing: border-box;
    font-size: @font-size-normal;
    color: @font-light;
    .avatar{
      width: 70px;
      height: 70px;
      border-radius: 35px;
      box-sizing: border-box;
      border:2px solid #fff;
      float: left;
    }
    p{
      width: 280px;
      height: 20px;
      line-height: 20px;
      float: right;
      margin-top: 10px;
      &.name{
        font-size: @font-size-title;
      }
      span{
        margin-right: 10px;
      }
    }
  }
  .stall-coupon{
    position: absolute;
    z-index: 2;
    left:10px;
    top:90px;
    width: 355px;
    height: 80px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    .item{
      flex-grow: 1;
      padding:10px 10px 10px 10px;
      font-size: @font-size-normal;
      .icon{
        width: 60px;
        height: 60px;
        background: @main-color-b;
        border-radius: 10px;
        padding:10px 0 0 10px;
        box-sizing: border-box;
        float: left;
        img{
          width: 40px;
          height: 40px;
        }
      }
      &:last-child .icon{
        background: @assist-color-b;
        img{
          position: relative;
          top:3px;
        }
      }
      p{
        float: right;
        width:90px;
        margin-top: 5px;
        color:#000;
        &.brief{
          color: @font-assist-a;
        }
      }
    }
  }
}
#banner{
  width: 355px;
  height: 100px;
  margin: 10px auto 0 auto;
  border-radius: 10px;
  img{
    width: 100%;
    height: 100%;
    border-radius: 10px;
  }
}
#control{
  width:355px;
  margin:10px auto 0 auto;
  background: #fff;
  border-radius: 10px;
  font-size: @font-size-normal;
  color: @font-assist-a;
  dl{
    height: 50px;
    line-height: 50px;
    border-bottom: 1px solid #f2f2f2;
    &:last-child{
      border:none;
    }
    dt{
      float: left;
      width: 40px;
      text-align: center;
      i{
        font-size: 22px;
      }
    }
    dd{
      &.text{
        float: left;
        width: 280px;
      }
      &.right-icon{
        width: 30px;
        text-align: center;
        float: right;
        i{
          font-size: 18px;
        }
      }
    }
  }
}
